#!/usr/bin/env python
# -*- coding: utf-8 -*-
from typing import TypeVar

from app.models import User
from pydantic import BaseModel

from app.dao.base_dao import BaseDao
from app.db.base_class import Base

class UserDao(BaseDao[User]):
    def __init__(self):
        super(UserDao, self).__init__()
        self.modelClass = User
        self.id = User.id

userDao = UserDao()